package com.apache.client;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.apache.uct.common.LoginUser;

/**
 * 换证接口，子业务系统需要自己实现该换证方法
 * @author ysliu
 * @date 2013-03-10
 */
public interface IBaseReplaceCard {

	/**
	 * String userEname = loginUser.getUserEname();
	 * 如果本地库里不存在userEname，自动在本地insert userEname
	 * 如果需要换证，根据业务需要，把需要的业务信息放在session中，LocalLoginUser对象
	 * @param loginUser
	 */
	public boolean replaceCard(LoginUser loginUser, HttpServletRequest request, HttpServletResponse response);
}
